package cn.com.oceansoft.osc.query.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 常驻居民-实体
 */
public class Citizen implements Serializable {

    private static final long serialVersionUID = -8338933757841676326L;

    private String guid ;

    private String xm;//姓名

    private String gmsfhm;//身份证号

    private String xb;//性别

    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date csrq;//出生日期

    private String jggj;//国籍

    private String jgssx;//籍贯省市县

    private String jgxz;//籍贯详址

    private String hjqh;//户籍区号

    private String pcsmc;//户籍责任区

    private String hjxz;//户籍详址

    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date yxqxjzrq;//有效期截至日期发证单位

    private String qfjg;//发证单位(签发机关)

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    public String getGmsfhm() {
        return gmsfhm;
    }

    public void setGmsfhm(String gmsfhm) {
        this.gmsfhm = gmsfhm;
    }

    public String getXb() {
        return xb;
    }

    public void setXb(String xb) {
        this.xb = xb;
    }

    public Date getCsrq() {
        return csrq;
    }

    public void setCsrq(Date csrq) {
        this.csrq = csrq;
    }

    public String getJggj() {
        return jggj;
    }

    public void setJggj(String jggj) {
        this.jggj = jggj;
    }

    public String getJgssx() {
        return jgssx;
    }

    public void setJgssx(String jgssx) {
        this.jgssx = jgssx;
    }

    public String getJgxz() {
        return jgxz;
    }

    public void setJgxz(String jgxz) {
        this.jgxz = jgxz;
    }

    public String getHjqh() {
        return hjqh;
    }

    public void setHjqh(String hjqh) {
        this.hjqh = hjqh;
    }

    public String getPcsmc() {
        return pcsmc;
    }

    public void setPcsmc(String pcsmc) {
        this.pcsmc = pcsmc;
    }

    public String getHjxz() {
        return hjxz;
    }

    public void setHjxz(String hjxz) {
        this.hjxz = hjxz;
    }

    public Date getYxqxjzrq() {
        return yxqxjzrq;
    }

    public void setYxqxjzrq(Date yxqxjzrq) {
        this.yxqxjzrq = yxqxjzrq;
    }

    public String getQfjg() {
        return qfjg;
    }

    public void setQfjg(String qfjg) {
        this.qfjg = qfjg;
    }

    @Override
    public String toString() {
        return "{" +
                "xm='" + xm + ',' +
                ", gmsfhm='" + gmsfhm + ',' +
                ", xb='" + xb + ',' +
                ", csrq=" + csrq +
                ", jggj='" + jggj + ',' +
                ", jgssx='" + jgssx + ',' +
                ", jgxz='" + jgxz + ',' +
                ", hjqh='" + hjqh + ',' +
                ", pcsmc='" + pcsmc + ',' +
                ", hjxz='" + hjxz + ',' +
                ", yxqxjzrq=" + yxqxjzrq +
                ", qfjg='" + qfjg + ',' +
                '}';
    }
}

